package com.yunxin.core.domain.service.warn;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxin.core.domain.model.warn.WarnHistory;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@DS("core")
public interface IWarnHistoryService extends IService<WarnHistory> {

    /**
     * 校验商户客服状态和商户接单状态
     * @param merchantId
     * @return 返回失败的商户id
     */
    void  checkByMerchant(Long merchantId);

    /**
     * 检查渠道漏损
     * @return
     */
    void checkChannel();
}
